package com.cskaoyan.model.admin.vo;

import java.util.List;

/**
 * @description:
 * @author: 牛犇
 * @date 2021/11/30 15:49
 */
public class MarketOrderDetailVo {

    /**
     * orderGoods : [{"productId":159,"addTime":"2021-11-29 20:25:25","orderId":4,"goodsId":1114011,"goodsSn":"1114011","updateTime":"2021-11-29 20:25:25","specifications":["标准"],"number":1,"picUrl":"http://yanxuan.nosdn.127.net/196b5ce11930b4eadaec563cb0406634.png","deleted":false,"price":299,"comment":0,"id":5,"goodsName":"104升 纯PC拉链斜纹拉杆箱"},{"productId":184,"addTime":"2021-11-29 20:25:25","orderId":4,"goodsId":1128002,"goodsSn":"1128002","updateTime":"2021-11-29 20:25:25","specifications":["标准"],"number":1,"picUrl":"http://yanxuan.nosdn.127.net/a1094a808ffb3a52a6cb13565a283d98.png","deleted":false,"price":599,"comment":0,"id":6,"goodsName":"清新趣粉系列居家地毯 青粉拼接"}]
     * user : {"nickname":"user123","avatar":""}
     * order : {"consignee":"松哥","address":"北京市市辖区东城区 天通苑5栋4单元602","comments":2,"addTime":"2021-11-29 20:25:25","orderSn":"20211129745971","actualPrice":898,"mobile":"17566725525","orderStatus":401,"confirmTime":"2021-11-29 20:26:19","updateTime":"2021-11-29 21:45:14","message":"","userId":1,"grouponPrice":0,"deleted":false,"aftersaleStatus":2,"goodsPrice":898,"couponPrice":0,"orderPrice":898,"id":4,"freightPrice":0,"integralPrice":0}
     */
    private List<OrderGoodsEntity> orderGoods;
    private UserEntity user;
    private OrderEntity order;

    public void setOrderGoods(List<OrderGoodsEntity> orderGoods) {
        this.orderGoods = orderGoods;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public void setOrder(OrderEntity order) {
        this.order = order;
    }

    public List<OrderGoodsEntity> getOrderGoods() {
        return orderGoods;
    }

    public UserEntity getUser() {
        return user;
    }

    public OrderEntity getOrder() {
        return order;
    }

    public class OrderGoodsEntity {
        /**
         * productId : 159
         * addTime : 2021-11-29 20:25:25
         * orderId : 4
         * goodsId : 1114011
         * goodsSn : 1114011
         * updateTime : 2021-11-29 20:25:25
         * specifications : ["标准"]
         * number : 1
         * picUrl : http://yanxuan.nosdn.127.net/196b5ce11930b4eadaec563cb0406634.png
         * deleted : false
         * price : 299.0
         * comment : 0
         * id : 5
         * goodsName : 104升 纯PC拉链斜纹拉杆箱
         */
        private int productId;
        private String addTime;
        private int orderId;
        private int goodsId;
        private String goodsSn;
        private String updateTime;
        private List<String> specifications;
        private int number;
        private String picUrl;
        private boolean deleted;
        private double price;
        private int comment;
        private int id;
        private String goodsName;

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setSpecifications(List<String> specifications) {
            this.specifications = specifications;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public void setComment(int comment) {
            this.comment = comment;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getProductId() {
            return productId;
        }

        public String getAddTime() {
            return addTime;
        }

        public int getOrderId() {
            return orderId;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public List<String> getSpecifications() {
            return specifications;
        }

        public int getNumber() {
            return number;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public double getPrice() {
            return price;
        }

        public int getComment() {
            return comment;
        }

        public int getId() {
            return id;
        }

        public String getGoodsName() {
            return goodsName;
        }
    }

    public class UserEntity {
        /**
         * nickname : user123
         * avatar :
         */
        private String nickname;
        private String avatar;

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getNickname() {
            return nickname;
        }

        public String getAvatar() {
            return avatar;
        }
    }

    public class OrderEntity {
        /**
         * consignee : 松哥
         * address : 北京市市辖区东城区 天通苑5栋4单元602
         * comments : 2
         * addTime : 2021-11-29 20:25:25
         * orderSn : 20211129745971
         * actualPrice : 898.0
         * mobile : 17566725525
         * orderStatus : 401
         * confirmTime : 2021-11-29 20:26:19
         * updateTime : 2021-11-29 21:45:14
         * message :
         * userId : 1
         * grouponPrice : 0.0
         * deleted : false
         * aftersaleStatus : 2
         * goodsPrice : 898.0
         * couponPrice : 0.0
         * orderPrice : 898.0
         * id : 4
         * freightPrice : 0.0
         * integralPrice : 0.0
         */
        private String consignee;
        private String address;
        private int comments;
        private String addTime;
        private String orderSn;
        private double actualPrice;
        private String mobile;
        private int orderStatus;
        private String confirmTime;
        private String updateTime;
        private String message;
        private int userId;
        private double grouponPrice;
        private boolean deleted;
        private int aftersaleStatus;
        private double goodsPrice;
        private double couponPrice;
        private double orderPrice;
        private int id;
        private double freightPrice;
        private double integralPrice;

        public void setConsignee(String consignee) {
            this.consignee = consignee;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public void setComments(int comments) {
            this.comments = comments;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public void setOrderSn(String orderSn) {
            this.orderSn = orderSn;
        }

        public void setActualPrice(double actualPrice) {
            this.actualPrice = actualPrice;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public void setOrderStatus(int orderStatus) {
            this.orderStatus = orderStatus;
        }

        public void setConfirmTime(String confirmTime) {
            this.confirmTime = confirmTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public void setGrouponPrice(double grouponPrice) {
            this.grouponPrice = grouponPrice;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public void setAftersaleStatus(int aftersaleStatus) {
            this.aftersaleStatus = aftersaleStatus;
        }

        public void setGoodsPrice(double goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public void setCouponPrice(double couponPrice) {
            this.couponPrice = couponPrice;
        }

        public void setOrderPrice(double orderPrice) {
            this.orderPrice = orderPrice;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setFreightPrice(double freightPrice) {
            this.freightPrice = freightPrice;
        }

        public void setIntegralPrice(double integralPrice) {
            this.integralPrice = integralPrice;
        }

        public String getConsignee() {
            return consignee;
        }

        public String getAddress() {
            return address;
        }

        public int getComments() {
            return comments;
        }

        public String getAddTime() {
            return addTime;
        }

        public String getOrderSn() {
            return orderSn;
        }

        public double getActualPrice() {
            return actualPrice;
        }

        public String getMobile() {
            return mobile;
        }

        public int getOrderStatus() {
            return orderStatus;
        }

        public String getConfirmTime() {
            return confirmTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public String getMessage() {
            return message;
        }

        public int getUserId() {
            return userId;
        }

        public double getGrouponPrice() {
            return grouponPrice;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public int getAftersaleStatus() {
            return aftersaleStatus;
        }

        public double getGoodsPrice() {
            return goodsPrice;
        }

        public double getCouponPrice() {
            return couponPrice;
        }

        public double getOrderPrice() {
            return orderPrice;
        }

        public int getId() {
            return id;
        }

        public double getFreightPrice() {
            return freightPrice;
        }

        public double getIntegralPrice() {
            return integralPrice;
        }
    }
}
